home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d7
/
c1aft100.arc
/
C1AFT.DOC
< prev
next >
Wrap
Text File
|
1991-09-30
|
12KB
|
262 lines
C1AFT.ASX
A Procomm Plus Script For Unattended
MarkMail Packet Transfers And
Pro Door File Downloading
From CHANNEL 1
For use with PROCOMM PLUS version 2.01
(C) Copyright 1991 Patrick Bresnahan
Requirements:
* IBM compatible computer
* Procomm Plus communications software version 2.01
C1AFT.ASX is a compiled ASPECT file for use with Procomm Plus.
Although the script functions normally when used with version 2.0
it will not compile properly with this version and therefore
it is recommended that Procomm Plus version 2.01 be used. Registered
users of 2.0 can receive free, the maintenance release version 2.01
from Datastorm Technologies, Inc.
* Floppy disk drive, or Hard drive recommended
* At least 256k RAM
* You must be a registered user of CHANNEL 1
* You must have previously set up your MarkMail account on Channel 1
which is in door 8.
* This script performs better when a disk cache is available. This is not
a requirement, but it is a suggested option. A disk cache improves the
performance of the script during data entry, making the screen image
display noticeably quicker.
Features:
* Allows you to Set the time of day to begin file transfers
* Automatically renames downloaded QWK packets
* Renames successfully uploaded REP packets
* Batch downloads up to 10 different file specifications
* Choose whether to automatically log off system
* Completely unattended file transfers
* MarkMail message Pointer reset
* Zip directory scan
PROCOMM PLUS is a copyright of Datastorm Technologies, Inc
MARKMAIL is a copyright of Mark Turner
PRO DOOR is a copyright of Samuel Smith
CHANNEL 1 is a trademark of Channel 1 Communications
C1AFT.ASX script is provided on an "as is" basis without
warranty of any kind expressed or implied. In no event will
Patrick Bresnahan be liable to you for any damages, including
any lost profits, lost savings or other incidental or con-
sequential damages arising out of the use of or inability to
use this script.
page 2 C1AFT100.DOC
Getting Started:
To run this script, you must first copy the file C1AFT.ASX to the directory
where your Procomm Plus files are kept. Then run PCPLUS.EXE, and from
terminal mode press <ALT><F5>, and then <ENTER> to get a list of available
script files. Select the file C1AFT, and press <ENTER>. Once the script
begins, it sets the terminal mode to 25 lines and 80 columns. Your original
terminal options will be restored when the script ends.
The script reads in information from a configuration file, C1AFT.CNF. The
configuration file must be in the same directory that you start the script
from, otherwise the file will not be found. If you are running the script for
the first time, this file will not yet exist and you will need to edit several
of the configuration options before allowing the script to call Channel 1.
Editing Options:
To edit, use the up/down arrows to highlight an option then press <ENTER>.
SET TIME: This is the time, in 24 hour format, that the call to Channel 1
will be made. Setting the time is the only way to initiate a call. To view
the current time, press <ESC> until the box with the current time is
displayed.
SEND REP on/off: Toggle this option on or off by pressing <ENTER> and then
using the space bar. <ENTER> again to accept. When set "on", the script will
upload your REP mail packet to the MARKMAIL door. The name of your REP packet
must be specified in the "REP Packet Name" option and reside in the upload
directory, as entered in the "Upload Directory" option. If the packet is
successfully transferred, it will be renamed using the conventions explained
later in the "Renaming Files" section. Renaming the file prevents from
inadvertently sending it more than once.
RECEIVE QWK on/off: Toggle this option on or off. When set "on", the
script will download your mail packet from the MARKMAIL door. Once the mail
packet is successfully downloaded, it will be renamed as mentioned in the
"Renaming Files" section. The packet will be downloaded into the default
download directory, as specified in the PCPLUS SETUP options. This directory
will generally be the default download directory of your offline reader, too.
DOWNLOAD on/off: Again, toggle this option on or off. When "on", the
files that you have listed in the Download List will be downloaded to you from
Channel 1. These files will be transferred from ProDoor, and will be
downloaded into the PCPLUS default download directory. More information on
this can be found in the "Function Keys" section under "D/L List".
DIR SCAN on/off: Toggles on or off. When "on", the script will use the
information provided in the SCAN LIST to do a Zip Directory Scan of the
Channel 1 file directories. The output of this directory scan will be written
to a file with the extension of SCN, and placed in the directory from which
this script was started.
POINTER RESET: The value entered here will be used to set your MARKMAIL
message read pointers. This will set your pointers back by the specified
amount. For example, entering 5 would set your pointers in every conference
that you read, back 5 from the last message. Downloading a mail packet would
then give you 5 messages in each conference. If this field is left blank, no
adjustment will be made.
page 3 C1AFT100.DOC
AUTO LOG-OFF: This option also toggles on or off. When "on", the script
will complete all set tasks, log off from Channel 1, and exit after
"NO CARRIER" is detected. When set to "off" the script will complete all
tasks, return to the main board and then exit leaving you connected to
Channel 1. When the script exits, it will restore your original terminal mode
options and colors.
PROTOCOL: This field specifies the transfer protocol used for all file
transfers. Although, this field can be edited, ZMODEM has been hard coded
into the script. In other words, you must use Zmodem. Your default protocol
in MARKMAIL must also be set to Zmodem.
DIALING DIRECTORY #: This is the number of the dialing directory entry
for Channel 1. The script uses the information contained in this entry to
dial Channel 1 and set terminal options and baud rate.
REP PACKET NAME: This is the filename with extension of the mail packet
you will be uploading to the MARKMAIL door. The default for this entry is
CHANNEL1.REP but allows you to modify it. Your offline reader will create
this CHANNEL1.REP file for you.
UPLOAD DIRECTORY: This specifies the complete drive and path of the
directory where the above REP PACKET can be found. The script will attempt to
validate this entry and will not accept an invalid path. Generally, this will
be the upload directory of your offline mail reader.
FIRST & LAST NAME / PASSWORD: These are the names and password you use
when logging onto Channel 1.
Function Keys:
F2 Save: Pressing F2 allows you to save your input to the configuration
file, C1AFT.CNF. All options are saved, and also all files in the DownLoad
list will be saved as well as all information entered in the Scan File list.
F4 D/L List: This is the download list. Here you enter all files that you
want to download from Channel 1. File names can include wildcards and if a
file extension is not given, ZIP will be assumed. If it is necessary to be in
a specific conference in order to download the specified file, enter the
conference number, also. It is not necessary to group files in the download
list according to conference. The script will download all files listed, up
to the first blank line in the download list.
F5 Restore: The restore function allows you to read in information
previously saved in the configuration file.
F6 Quit: Pressing F6 exits the script, and returns you to terminal mode.
Until a connection is made with Channel 1, this is the only way to exit the
script. After a connection is made, you can exit the script by pressing the
<ESC> key. To abort a dialing attempt, it will be necessary to press <ESC> or
the space bar until the SET TIME and the system time are no longer the same.
F7 Scan List: The Scan List allows you to do a Zip Directory Scan of the
files in the Channel 1 file directories. In the Keyword field enter the text
to scan for. The logical operators, || (OR) and && (AND) can be used. In the
Directories field, enter the number of the particular directories you want to
scan.
Page 4 C1AFT100.DOC
The Conference field allows you to enter a specific conference before doing
the directory scan. Blank lines in the Scan List are ignored. The output of
the Directory Scan is written to a file in your systems current directory.
The file name will be: mmmdd?.scn
mmm is the current month, dd is the current date, and ? will be a letter from
A to Z.
<ESC>: The escape key has several different meanings, but it basically
moves you from place to place within the script.
Renaming Files:
The script creates or renames files according to the following format.
mmmdd?.xxx
mmm is the current month, dd is the current date, ? is a letter from A to Z,
and xxx is the file extension of the original file. Downloaded mail packets
will have the file extension of QWK. Mail packets that you send to Channel 1
will keep the same file extension that you originally specified for it, but
generally this will be REP. Scan List files have the extension SCN. This
renaming sequence allows you to have up to 26 different files per day. For
example, if you received 3 different mail packets in one day from Channel 1 on
July first, they would be renamed jul01a.qwk
jul01b.qwk
jul01c.qwk
All uploaded mail packets are immediately renamed after being successfully
transferred. This helps to prevent from accidentally uploading the same mail
packet more than once.
Calling Channel 1:
Before attempting to use the script to call Channel 1, it will be necessary to
edit the following options: Set Time
Dialing Directory #
First Name
Last Name
Password
Setting the time of day is the only way to begin a call. Once all options
have been selected press <ESC> until the box with the current system time is
displayed. This box will also display the name and phone number of the
selected dialing directory entry. The script will only make the call when
this box is being displayed.
The script can be setup to function as an auto-logon script by setting all
switches to OFF.
Any comments, criticisms, or suggestions can be made to:
Patrick Bresnahan
Po Box 3072
Edgartown, Ma 02539
I also regularly read the Main Board conference on Channel 1 and the Procomm
conference on RelayNet and can be messaged there.